sync.Pool.local (field)
8 uses
sync (current package)
pool.go#L52: local unsafe.Pointer // local fixed-size per-P pool, actual type is [P]poolLocal
pool.go#L159: locals := p.local // load-consume
pool.go#L205: l := p.local // load-consume
pool.go#L221: l := p.local
pool.go#L225: if p.local == nil {
pool.go#L231: atomic.StorePointer(&p.local, unsafe.Pointer(&local[0])) // store-release
pool.go#L251: p.victim = p.local
pool.go#L253: p.local = nil
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |